<%@ include file="/common/taglibs.jsp"%>
<head>
    <title><fmt:message key="laundryRequestUnReceptionList.title"/></title>
    <meta name="heading" content="<fmt:message key='laundryRequestUnReceptionList.heading'/>"/>
    <meta name="menu" content="RoleAdminLaundry"/>    
</head>
<div id="help">
    <h2>
        <a href="<c:url value='helpLaundryRequestList.html?decorate=false'/>"
           title="Help laundry request list"
           onclick="Modalbox.show(this.href, {title: this.title, width: 600}); return false;">
               <fmt:message key="help"/>
        </a>
    </h2>
</div>

<c:set var="buttons">
    <input type="button" onclick="location.href='<c:url value="/mainMenu.html"/>'"
           value="<fmt:message key="button.done"/>"/>    
</c:set>

<c:out value="${buttons}" escapeXml="false" />

<s:set name="laundryRequests" value="laundryRequests" scope="request"/>
<display:table name="laundryRequests"  class="table" id="laundryRequestForm" export="true" requestURI="" pagesize="25">
    <display:column href="clothesWashed.html" paramId="idLaundryRequest" paramProperty="id">
        <fmt:message key="seeClothesWashed"/>
    </display:column>
    <display:column href="clotheFailsWashed.html" paramId="idLaundryRequest" paramProperty="id">
        <fmt:message key="seeClotheFailsWashed"/>
    </display:column>
    <display:column property="date" sortable="true" titleKey="laundryRequest.date"/>    
    <display:column property="tradeMark.name" sortable="true" titleKey="tradeMark"/>
    <display:column property="sizeRank.name" sortable="true" titleKey="sizeRank.name"/>
    <display:column property="quantity" sortable="true" titleKey="laundryRequest.quantity"/>
    <display:column property="totalPrice" sortable="true" titleKey="laundryRequest.totalPrice"/>
    <display:column property="coin.name" sortable="true" titleKey="coin"/>    
</display:table>

<c:out value="${buttons}" escapeXml="false" />

<script type="text/javascript">
    //highlightTableRows("purchaseDetailForm");
</script>